package com.beck.bee.designpattern;

/**
 * Created by cdliubei@jd.com on 4/13/2017.
 */
public class Singleton {

    private Singleton(){
    }

    static class inner{
        private static final Singleton instance = new Singleton();
    }

    public static Singleton getInstance(){
        return inner.instance;
    }

}
